package com.example.bookshop.entity;

public class Business {
    //考虑到消费者也可以称为商家，所以将两者进行关联
    public int id;//商家Id
    public int customerId;//消费者Id
    private String photo;//店铺图片
    public String state;//商家状态
    public String summary;//商家简介
    public int sold;//卖出的商品数

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getCustomerId() {
        return customerId;
    }

    public void setCustomerId(int customerId) {
        this.customerId = customerId;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public int getSold() {
        return sold;
    }

    public void setSold(int sold) {
        this.sold = sold;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }
}
